package com.restaurant.application.indexes.customerlist.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.View;
import com.nebutown.generation.basictype.UID;
import com.nebutown.supporthome.AbstractBase;
import com.restaurant.application.customer.support.CustomerData;
import com.restaurant.application.indexes.customerlist.AssistCustomerList;
import com.restaurant.application.indexes.customerlist.mysql.CustomerListBean;

public class AssistCustomerListOutFace implements AssistCustomerList {
    private AssistCustomerListBase base;

    public AssistCustomerListOutFace(AssistCustomerListBase base) {
        this.base = base;
    }

    public AbstractBase getBase() {
        return this.base;
    }

    @Override
    public UID getCustomerUidByOpenId(String arg0) {
        return (UID)base.call("getCustomerUidByOpenId", arg0);
    }

    @Override
    public CustomerListBean updateBean(UID arg0, CustomerData arg1, CustomerListBean arg2) {
        return (CustomerListBean)base.call("updateBean", arg0, arg1, arg2);
    }

    @Override
    public CustomerListBean createBean(UID arg0, CustomerData arg1) {
        return (CustomerListBean) base.call("createBean", arg0, arg1);
    }

    @Override
    public UID getId() {
        return (UID)base.call("getId");
    }

    @Override
    public Class getEffectiveInterface() {
        return (Class)base.call("getEffectiveInterface");
    }

    @Override
    public View getFullView() {
        return (View)base.call("getFullView");
    }

    @Override
    public View getViewLead(ViewSpec arg0) {
        return (View)base.call("getViewLead", arg0);
    }
}
